package com.ep.thirdPlatformProject.oa.enums;

import lombok.Getter;

@Getter
public enum WorkflowEnum {

    ON_BOARDING_FORM_FLOW("员工入职单", "signFormId", "IT-01 员工入职流转单", "IT-01 员工入职流转单", "0", "1"),
    POST_TRANSFER_FORM_FLOW("员工转岗单", "transFormId", "IT-03 员工转岗流转单", "IT-03 员工转岗流转单", "0", "1"),
    RESIGN_FORM_FLOW("员工离职单", "leaveFormId", "IT02 员工离职流转单", "IT02 员工离职流转单", "0", "1"),
    ORG_CHANGE_FORM_FLOW("组织架构调整流转单", "orgChangeFormId", "IT13 组织架构调整流转单", "IT13 组织架构调整流转单", "0", "1"),
    ERP_BUDGET_FORM_FLOW("年度预算编制审批单","budgetFormId","年度预算编制审批单","年度预算编制审批单","0","1")

    ;
    // workflowId 在数据库中查找workflow_base

    WorkflowEnum(String description, String workflowId, String flowName, String title, String level, String creator) {
        this.description = description;
        this.workflowId = workflowId;
        this.flowName = flowName;
        this.title = title;
        this.level = level;
        this.creator = creator;
    }

    private final String workflowId;
    private final String flowName;
    private final String title;
    private final String level;
    private final String creator;
    private final String description;
}
